package mybox.engine;

public class Circle implements Figur {
	
	public File4Qcad file4qcad=null;
	public QVector center=null;
	public double radius;
	
	public Circle(File4Qcad file4qcad, QVector center, double radius) {
		this.file4qcad=file4qcad;
		this.center=center;
		this.radius=radius;		
	}
	
	public void draw() {
		/*
		file4qcad.println(String.format("0\nCIRCLE\n10\n%f\n20\n%f\n30\n0.0\n40\n%f",
								   center.x, center.y, radius) );
								 */
		file4qcad.printCircle(center.x, center.y, radius);			
	}

}
